import request from '@/utils/request'

/**
 * @param {*} username 
 * @param {*} password 
 */
export function login(obj) {
  return request({
    url: '/user_login',
    method: 'post',
    data: obj
  })
}
/**
 * @param {*} token
 */
export function getAuth(obj) {
  return request({
    url: '/get_auth',
    method: 'post',
    data: obj
  })
}